package com.itheima.edu.info.manager.dao;

import com.itheima.edu.info.manager.domain.Teacher;

import java.util.ArrayList;

public interface  BaseTeacherDao {
//    static Teacher[] teachers = new Teacher[5];
    ArrayList<Teacher> teachers = new ArrayList<>();

    public abstract boolean addTeacher(Teacher teacher);

    public abstract Teacher[] findAllTeacher();

    public abstract void deleteTeacher(String tid);

    public abstract void updateTeacher(Teacher teacher);
}
